sprout

 

Sprout creates new turtles from the current patch, and must be used within an ask patches [...] context. It takes the form of sprout number-of-turtles [ optional-commands ]. Unless specified in the commands, the new turtles will have random headings and colors. After being created, the turtles run the commands one at a time, in a random order. Sprout-<breed> can also be used to create turtles of a specific breed. For creating new turtles from existing turtles, see hatch.

 

Try it Yourself

 
 
 
 
 
 
 

What's next?

Once you mastered the sprout primitive, don't stop there. Check out the resources below to improve your NetLogo skills.

 
Published NetLogo models that use the sprout primitive:
 
 
Similar primitives:
hatch

Creates turtles from an existing turtle.

Read more
create-turtles

creates turtles with random colors and headings in the default shape of a turtle

Read more
die

Remove a turtle or link from the world.

Read more
ask

a reporter that is used to make the agents in the agentset do something.

Read more
 
Learn another primitive